package com.invengo.library_db.entity.module_check;

import static com.invengo.library_db.entity.module_check.BookState.*;

import androidx.annotation.StringDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@StringDef({LENG_OUT, ERROR_NO_LISTING, ERROR_OTHER_SHELF, IN_SHELF, NEED_IN_SHELF, LENG_OUT_IN_SHELF})
@Retention(RetentionPolicy.SOURCE)
public @interface BookState {
    String LENG_OUT = "[外借]";
    String LENG_OUT_IN_SHELF = "[外借在架]";
    String ERROR_NO_LISTING = "[错架-未上架]";
    String ERROR_OTHER_SHELF = "[错架-其他架位]";
    String IN_SHELF = "[在架]";
    String NEED_IN_SHELF = "[已上架]";
}

